up: programming - C - time related  
programming - C - function timeWhat links here?
time_t time ( time_t * timer );
Get current time

Get the current calendar time as a time_t object.

The function returns this value, and if the argument is not a null pointer, the value is also set to the object pointed by timer.



Parameters



Return Value

The current calendar time as a time_t object. If the argument is not a null pointer, the return value is the same as the one stored in the location pointed by the argument.

If the function could not retrieve the calendar time, it returns a -1 value.

Value returned is the number of seconds since midnight Jan 1, 1970 GMT.

www.cplusplus.com
programming - C - function time
filename:programming - C - function time
filename:programming%20%2D%20C%20%2D%20function%20time
last edit:December 02 2012 17:13:06 (4172 days ago)
ct = 1714976635.000000 = May 06 2024 02:23:55
ft = 1354486386.000000 = December 02 2012 17:13:06
dt = 360490249.000000